ip address (HDLC over T1)

This command specifies the IP address and subnet mask of the HDLC serial interface.

Syntax

ip address <a.b.c.d> <e.f.g.h> 

Command

Description

a.b.c.d

Defines the static local IP address set on this HDLC serial interface.

e.f.g.h

Defines the static subnet mask set on this HDLC serial interface.

Default

By default, the IP address is 1.1.1.1 and the subnet mask is 255.255.255.0.

Command Mode

Privileged User

Example

This example sets IP address 223.4.5.6 on HDLC encapsulated serial interface 0/0:

(conf-if-serial-hdlc 0/0)# ip address 223.4.5.6 255.255.255.252